require "libstarcore"
Service=libstarcore._InitSimple("test","123",0,3040,"SRPSHtmlEnvEngine")
a = Service.SHtmlEnvSiteClass:_New()
a:_Active()

function a:OnDefault(CommInterface,HttpRequest,RetHeader,RetBody)
    local FileName,Para
    
    FileName,Para = self:ParseRequestFile(HttpRequest[7])
    RetBody:_WriteFromMemoryFile(self._Service,0,FileName)
    return 0
end